package com.qf.dao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @version v1.0.0
 * @Description:
 * @author: 姜红凯
 * @date: 2022.03.10
 * @since 1.0
 */
public interface UserDao {

    public List<User> findAll();

    @Select("select * from t_users where id=#{id}")
    public User findOne(@Param("id") Integer id);
}
